package com.work.customer.service;


import com.github.pagehelper.Page;

import com.work.customer.pojo.Role;

import java.util.List;
import java.util.Map;


public interface RoleService {
    void add(Integer uid,Integer[] rids);
    void update(Integer uid,Integer[] rids);
    void delete(Integer uid,Integer[] rids);
    //多条件分页查询
    Page<Role> findPage(Map<String, Object> searchMap, int page, int size);

    List<Role> findById(Integer uid);
}
